<?php
if(isset($menu))
{

switch ($menu)
{
case "home":
  //menu for home
    ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>staff"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<!-- <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		 end nav -->

<?php
    
  break;
case "room":
  ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>staff"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="current">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<!-- <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		 end nav -->
    
<?php
  break;

case "Users":
  ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  end nav -->

<?php
  break;

case "Categories":
  ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  end nav -->
<?php
  break;

case "Menu":
    ?>
              <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  end nav -->
   
 <?php
    break;

case "Ads":
?>
     <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  end nav -->
    
 <?php
    break;

case "Report":
?>
      <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  end nav -->
    
 <?php
    break;

case "Tab":
?>
     <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/user"><span>Pengguna</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/invoice"><span>Faktur</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restoran </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/report"><span>Laporan</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		<!--  end nav -->
    
 <?php
    break;

default:
  echo "error, dimohon untuk menghubungi administrator anda";
}
}
?>
